package com.linc.android.app.exit;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.android.widget.demo.R;
import com.linc.android.app.WidgetDemoApplication;

public class DemoB extends BaseActivity
{
    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        
        setContentView(R.layout.activity_demo_b);
        Button button = (Button)findViewById(R.id.btn_demo_b);
        button.setOnClickListener(new View.OnClickListener() {

            public void onClick(View v)
            {
                WidgetDemoApplication.getInstance().exit();
            }
        });
    }
}
